updated copystring program