Disclaimer: This demo works in a limited browser set and hence may or may not work for you.

Source on GitHub

Demo 1

Here's a demo of copying something from an input element

Demo 2

Here's a demo of copying something from a paragraph. Cut is not supported.

Some more example text