ref: 27e63021261aee56e2195e328c9e4ab61bce8870 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; }