copy(_:) Copies the text in the selection, if any, to the Pasteboard. Declaration@IBAction func copy(_ sender: Any?) See AlsoHandling SelectionscurrentSelectionsetCurrentSelection(_:animate:)selectAll(_:)clearSelection()scrollSelectionToVisible(_:)highlightedSelections