instance.copyPaste.onCopy hook