Copy Text to Clipboard script code example Example: copy to clipboard navigator.clipboard.writeText('Text To Copy');