Hamasaki is the Roman pinyin of the pronunciation of the surname Hamasaki, and it is also the surname in English.
Ayumi means Ayumi to the same effect as above, but later 'beautiful' was canceled and it means Ayumi.
Ayumi is a transliteration. ‘Ayumi Hamasaki’ appeared in early magazines, but it is no longer used.