need to copy the weight vector for early stopping?