Added getCopy method to Paste class hierarchy