Some reference say that if rank($A$)=rank($A^2$),then the geometric and algebraic multiplicities of the eigenvalues $\lambda=0$ are equal;that is,all the Jordan blocks correspondint to $\lambda=0$ (if any) in the Jordan form of A are 1*1.

I don't know how to check out this conclusion.Could you help me ? Thank you!