# include <string.h>
# include <stdio.h>


/** antigrafei to string b sto a **/
void mycopy(char a[],char b[])
{
	int i;
	for(i=0;i<strlen(b);i++)
	{
		a[i]=b[i];
	}
	/** \\0 **/
	a[strlen(b)]='\0';
}

int main()
{
	char x[100]="this is another test";
	
	printf("%s\n",x);
	strcpy(x,"This is a test");
	
	printf("%s\n",x);
	
	mycopy(x,"giannis test");
	printf("x = %s \n",x);
	return 0;
}
