To copy one screen page to another in all screen modes.
PCOPY sourcepage, destinationpage
The sourcepage is an integer expression in the range 0 to n, where n is determined by the current video-memory size and the size per page for the current screen mode.
The destinationpage has the same requirements as the sourcepage.
For more information, see CLEAR and SCREEN.
This copies the contents of page 1 to page 2: