Added copy-to-clipboard functionality