TextEditor.copy

void copy()

Copies selected text to clipboard.