ref: 0a5224e17a101c6b0c1c7eb1e36dc9d3fd8ac120 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; }