Overloaded the assignment operator