ref: 817b9de7a3b4977e684a7a41a0a14b770f264c78 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; }