Added copy constructors to the classes