How to use the Clipboard API to Cut, Copy, and Paste in JavaScript