Little bit stuck on this problem.

Let $\displaystyle A$ and $\displaystyle B$ be similar Matrices. Let $\displaystyle \lambda$ be an eigenvalue of $\displaystyle A$ and $\displaystyle B$

Show that $\displaystyle dim Ker(A-\lambda I) = dim Ker(B-\lambda I)$

Any help would be great. Thanks!