copyFile
extern int copyFile __P((int, int, char *, char *, struct stat *, long));
status = copyFile(srcFd, dstFd, a_srcPath, a_dstPath, &srcStatbuf, 0);
n = copyFile(fd, tmpFd, a_path, template, &statbuf, 0L);
status = copyFile(srcFd, dstFd, a_srcPath, a_dstPath, &srcStatbuf, 0);