Well clearly it is not actually magic; the point really is that if we think of torque as a sort of rotational analog of force, and angular acceleration as the rotational analog of acceleration, then this shows that the quantity $mR^2$ is a sort of rotational analog of mass for a point mass.