changed access modifier of abstract HeapObject.copy() method to
protected.