ref: 8d5f6bbcb69f614eb5a8eae090cfa10981cd373a 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; }