Copy a string to the system clipboard in Svelte

Make a button that copies a string to the system clipboard in Svelte.