Cool but this does not work.
I've tried the script in different ways and it throw errors on my end. Having an issue with NRTDocument.
The error throws when I use the Copy command.
I am using the script you provided above.
It the same that you provided above.