Added functionality for Copy To Clipboard button