ref: 590ba0dfe7a73ab2e47fe333cf700e01d9cda6e9 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; }