Simple C++ demonstration of copy constructors and inheritance.