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