but this code ensures the strcpy() is using BLI_strncpy now, and it uses more clear names for the mallocs.