ref: 9b62b35493ec9d39704ca6c9a9e133a2f8e980fc dir: /lib/c/src/strcpy.c/
#include <string.h> #undef strcpy char * strcpy(char * restrict dst, const char * restrict src) { char *ret = dst; while (*dst++ = *src++) /* nothing */; return ret; }