'Amazing' win ... Alex Lloyd outside court.

‘Amazing’ win … Alex Lloyd outside court. Photo: Edwina Pickles

A copyright case against Sydney rocker Alex Lloyd over his hit song Amazing has been dismissed by the Federal Court.

Mark Edward O’Keefe was suing Lloyd in a claim for royalties for the song, which he says he wrote with the famous singer on the back of some coasters in a Sydney hotel in 1991.