This page demonstrates the Copy to clipboard plug-in.
This dynamic action plug-in can be used to copy the content of an Apex item to the clipboard. The content of hidden items can also be copied.
The plug-in that can be downloaded from the plug-ins section of
The plug-in function both for Apex 5.0 and 5.1.

More information is found on this blogpost.


You can use see the plug-in in action by clicking on the buttons. You can paste the result in the textarea in the bottom.