Move the pointer instead of using append().