ref: 57b7d9443f8a5ea6e19a7080f5ed310b86c3db74 dir: /src/libc/string/strcpy.c/
#include <string.h> #undef strcpy char * strcpy(char * restrict dst, const char * restrict src) { char *ret = dst; while (*dst++ = *src++) ; return ret; }