Atomistic simulations of dynamics of an edge dislocation and its interaction with a void in copper: a comparative study