Update ex7_01.cpp

By default, copying a class object copies that object's members.