strcpy
—copy string#include <string.h> char *strcpy(char *dst, const char *src);
Description
strcpy
copies the string pointed to by src
(including the terminating null character) to the array
pointed to by dst.
Returns
Portability
strcpy
is ANSI C.
strcpy
requires no supporting OS subroutines.