Update cp.c

Plan9 approach