Created changeTo method and shallow copy constructor