in reply to onclick to clipboard

You might want to check out Win32::Clipboard.