Scala: A function to copy text to the system clipboard and get it from the system clipboard (copy and paste text)Copying and pasting text strings in Scala (or Java, Kotlin, other JVM languages) using system clipboard functions.