question: public Frame copyStack ( ) { Frame frame = new Frame ( locals . length , stack . length ) ; System . arraycopy ( stack , 0 , frame . stack , 0 , stack . length ) ; frame . top = top ; return frame ; }
target:  Makes a shallow copy of the stack portion of this frame. The local variable table size will be copied, but its contents will be empty.