copy constructor equality problems