Paste text from my file to other file


#1

Hi, how can i paste text from my activeTextEditor to other file.

For example, I have one.json, when I click cmd+s, I need to paste all code from one.json to two.json


#2

How does the editor know what file to paste from and how does it know what file to paste into?