The above code is equivalent to `strdup()`.