Added the copy to clipboard functionality.