Please be careful of dealing with `FileUtils::getFileData`, the return value is not `\0` terminal string.
If you expect it's a string, you need to `malloc` new memory of which size is `size+1`, and set the last element to `'\0'`.
```
char* myContent = (char*)malloc((size+1) * sizeof(char));
myContent[size] = '\0';
memcpy(myContent, pFileContent, size * sizeof(char));

...

free(myContent);

```