Fix CounterContext.ContextState.copyTo() method