Use copyboard.js to be able to set a value that will be placed into the clipboard when the user hits Ctrl + C (or Command + C).