ref: 8f3b75a7c544312a9b182a614b63d18714a9b5fc
dir: /src/libc/string/memcpy.c/
#include <string.h> #undef memcpy void * memcpy(void *restrict s1, const void *restrict s2, size_t n) { char *d = s1; const char *s = s2; while (n-- > 0) *d++ = *s++; return s1; }