Question: how to copy pgn from chess.com?
Answer: Click on Share Game or Clipboard to share (export) PGN.
Click on Retrieve Position to import PGN from your device. Alternatively, if you have the game on Clipboard, you can click Clipboard and then choose to paste the game from Clipboard.