char * bson_strdup (const char *str);
str
Copies str into a new string. If str is NULL, then NULL is returned.
A newly allocated string that should be freed with bson_free().