migrate substitution keywords to SVN
[reactos.git] / reactos / lib / string / memcpy.c
1 /*
2 * $Id$
3 */
4
5 #include <string.h>
6
7 void* memcpy(void* to, const void* from, size_t count)
8 {
9 register char *f = (char *)from;
10 register char *t = (char *)to;
11 register int i = count;
12
13 while (i-- > 0)
14 *t++ = *f++;
15 return to;
16 }