#include void* memcpy(void *dest, const void *src, size_t n) { const unsigned char *s = src; for(unsigned char *d = dest; n; n--) *(d++) = *(s++); return dest; }