Make sure copystring returns success of operation