Returns the string representation of the char array
argument. The contents of the character array are copied; subsequent
modification of the character array does not affect the newly
created string.
Parameters:
data
a char array.
Returns: a newly allocated string representing the same sequence of
characters contained in the character array argument.