This cannot be done with Airtable scripting. Airtable scripts do not have access to the clipboard.
It could be done with an extension, but it would only work when the extension is open, and the effort to code it would far outweigh the effort to press Ctrl-c every time.