Create Form events: Copy.js

The onCopy event fires whenever a form field’s contents are copied with the user’s local copy function (ctrl-c, edit menu, or contextual menu.) The event can also be attached to the window object to catch copying anywhere on the page.