finished writing copying and moving class object.