把数组内容完成拷贝到另一个数组
#include <sting.h>
int main()
{
array1[10]={1,2,3,4,5};
array2[10]={0};
memcpy(array2,array1,sizeof(array1));
memset(array1,0,sizeof(array1)