A copy constructor creates a new object (constructor).
An assignment operator assigns a value to an existing object.
If an assignment operator is not provided, the C++ compiler provides an automatic assignment operator.
The automatic assignment operator will copy the contents of all member variables.
A custom assignment operator is:
operator=
.Cube & Cube::operator=(const Cube & obj)
The goal of the custom assignment operator is to assign the content in object to the instance of the object being called.