A repo that demonstrates copy to clipboard using Zeroclipboard - https://github.com/zeroclipboard/zeroclipboard
Instructions
$ cd ZeroClipboardDemo
$ python -m SimpleHTTPServer
(Open http://localhost:8000 in your browser)
You should be able to test copy to clipboard functionality.