If we already know that the three parts will fit, there is no need to use strncpy/cat.
We only lose time using it,

strcpy and strcat is better here.