add copyfile.c