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