Here is a good example on why either you love C++ or hate it with such terse expression oriented code; I think its pretty cool.
If you want to copy one string to another, one option can be something like this.
However this achieves the same thing as above and is more efficient:
Of course why would you write your own version when you have standard string copy fundtion strcpy
in <string.h>