strcpy原型:

char *strcpy(char *dest,const char* src)
{
	assert((dest!=NULL)&&(src!=NULL));
	char *add=dest;//保存原地址;
	while((*dest++ = *src++)!='\0');
	return add;
}

memcpy原型: