Scale transitions in crystal plasticity by dislocation dynamics simulations