Update copy.cpp

repair warning:deprecated conversion from string constant to char*