win-like copy-pasting