Easiest solution to what it sounds like you're doing is PCOPY.
PRINT "Some junk on the screen"
PRINT "And some more junk"
PCOPY 0, 1
PRINT "PRESS <ANY KEY> TO ERASE THE SCREEN"
SLEEP
CLS
PRINT "It's all erased! Press <ANY KEY> to restore the original>
SLEEP
PCOPY 1, 0