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 apex.world
The plug-in function both for Apex 5.0 and 5.1.
More information is found on this blogpost