JavaScripts can be copied and pasted from one field or other location in a PDF document or between two documents. If you examine PDF files for learning JavaScript programming, you can browse PDF files containing scripts, copy a script from a document you download from the Internet, and paste the code into the JavaScript Editor in your document. With a little code modification, you can quickly add scripts to your own files.
To copy code between PDF files just open them both in Nitro Pro.