wouldn't you juse use str_cpy() when copy data from one text to another.

If you specify it is what you're doing there probably is an easier way to do it rather than transferring the text twice.