ref: 81678b9576d8f3922b1b8df5e1b523f04bc6c783 dir: /src/libc/string/strcpy.c/
#include <string.h> #undef strcpy char * strcpy(char *restrict s1, const char *restrict s2) { char *ret = s1; while ((*s1++ = *s2++) != '\0') ; return ret; }