Take out PlatformSpecificStrNCpy()
Test copyToNewBuffer(NULL).

copyToNewBuffer() could actually called with NULL from the
outside by constructor. If that happened, however, returning
NULL would be as bad as crashing. Hence, return the empty
string.