ref: 64688dc02ba9cc803d2b2a8b6030d73602ed18cc 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; }