For browser who does not support clipboardAPI, we can use document.execCommand('copy) to copy text to clipboard.
For browser who does not support clipboardAPI, we can use document.execCommand('copy) to copy text to clipboard.