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