Just walk down a hill to accelerate the rotation of the Earth a tiny bit. But when you need to walk up the hill again you decelerate it by the same amount. -- So building a dam preserves the rotational speed of the Earth with respect to the extent of the mass (or more exactly the angular momentum) of the retained water.