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