C / string.h / memcpy
memchr, memcmp, » memcpy, memmove, memset, strcat, strchr, strcmp, strcoll, strcpy, strcspn, strerror, strlen, strncat, strncmp, strncpy, strpbrk, strrchr, strspn, strstr, strtok, strxfrm,
Funcion: memcpy()
Sintaxis:
void *memcpy(void *s1, const void *s2, size_t n);

Descripcion: Copia los primeros n caracteres del objeto apuntado por s2 al objeto apuntado por s1.


Ejemplo:
#include <stdio.h>
#include <string.h>
 
int main()
{
   char a[7] = "abcdefg";
   char *ptr;
   int i;
 
   memcpy( ptr, a, 5 );
   for( i=0; i<7; i++ )
     printf( "a[%d]=%c ", i, a[i] );
   printf( "\n" );
   for( i=0; i<5; i++ )
     printf( "ptr[%d]=%c ", i, ptr[i] );
   printf( "\n" );
 
   return 0;
}

Librerias C

Librerias ANSI C
   string.hcstring
   math.hcmath
   stdio.hcstdio
   time.hctime
   stdlib.hcstdlib
   ctype.hcctype
   locale.hclocale
   signal.hcsignal
   setjmp.hcsetjmp

Librerias Borland
   conio.h
   graphics.h