/* * copy.c -- copy a string and return pointer to NULL terminator * * $Id$ */ #include char * copy(char *from, char *to) { while ((*to = *from)) { to++; from++; } return (to); }