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