C's strdup() equivalent in C++

What is strdup() equivalent in C++?
Assignment.

You just do
s2 = s1
and voila, instant copy of a string.
Topic archived. No new replies allowed.