Added copy assignment and copy constructor implementation.