copyfile
if (copyfile("/proc/kallsyms", filename))
copyfile(debugfile, filename))
int copyfile(const char *from, const char *to);