fdcopy
if ((error = fdcopy(p, &fds)) != 0)
error = fdcopy(p1, &newfd);
error = fdcopy(p1, &p2->p_fd);
int fdcopy (struct proc *p, struct filedesc **fpp);