Rank of a matrix

Does anyone know how to prove rank(A)=rank(AT A) where A is any matrix and AT is the transposed of matrix A? I have difficulty to prove the part that nulity(A)=nulity(AT A). Any help will be appreciated.