Added shallow copy constructor and changeTo method