Update copy.cpp

remove fstream.h