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