Copy to clipboard reimplemented.