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