use copy-pipe to copy to clipboard