Learn how to copy text to the clipboard with JavaScript.
Read on how to do it in this link: https://www.w3schools.com/howto/howto_js_copy_clipboard.asp
Try it yourself here: https://www.w3schools.com/howto/tryit.asp?filename=tryhow_js_copy_clipboard2