[code:1]
#include<stdio.h>
#include<string.h>
int main(){
char data1[100]="abcdefghijklmnopqrstuvwxyz";
char temp1[100]={0};
char temp2[100]={0};
char temp3[100]={0};
printf("original :\n %s\n",data1);
strcpy(temp1,data1);
memcpy(temp1+6,temp1+4,10);
printf("memcpy result :\n %s\n",temp1);
strcpy(temp2,data1);
memmove(temp2+6,temp2+4,10);
printf("memmove result:\n %s\n",temp2);