impl of select text copy