strcpy is used for copying strings (terminated by a null '\0') but memcpy can be used to copy some data of finite length to the desired memory location.

memcpy(bufDest,bufSrc,100); // Will copy 100 bytes whatever be the content be

strcpy(bufDest,bufSrc); // Will copy all the bytes till it finds the first null terminating character