copy mycounter newcounter
