Set a null pointer at the end of destination string.