Remove the use of strcpy() and strcat()