Prototype: extern void * memcpy (void * dest, void * src, unsigned int count); usage: # include <string. h> function: copy count bytes from the memory area indicated by src to the memory area indicated by dest. Note: the memory areas specified by src and dest cannot overlap. The function returns a pointer to dest. Note: Compared with strcpy, memcpy does not end when it is met, but will certainly copy n Bytes. Example: // memcpy. c # include <stdio. h> # include <string. h> int main (int argc, char * argv []) {char * s = "Golden Global View"; char d [20]; clrscr (); memcpy (d, s, strlen (s); d [strlen (s)] =; printf ("% s", d); getchar (); return 0 ;} capture view # include <string. h> int main (int argc, char * argv []) {char * s = "Golden Global View"; char d [20]; memcpy (d, s + 14,4 ); // memcpy (d, s + 14 * sizeof (char), 4 * sizeof (char); can also d [4] =; printf ("% s ", d); getchar (); return 0;} output result: View initializes the array char msg [10]; memcpy (msg, 0, sizeof (msg ));