The atomic number is the number of Protons on the nucleus of the atom, whereas the mass number of some isotope is the mass of the protons plus the mass of the neutrons. That's the difference between isotopes: number of neutrons.
Ask me if you need any help ;)