strcpy and strcat replaced