ref: 4fc7dfcc3f4ca59064142c3c830b2720914b5e8c 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; }