Added copy constructor.