A slightly faster version of strjoin using strcpy instead of strcat