Add copy-to-clipboard function