Delete c++ pointer copy.cpp~