Creating copy constructor.