Error Duplicate step definition

Hi all,
im new to automation, i have a scenarios where i have list of API with different fields and schema.
my testing is to compare API response ( from system1) and do the same request to another API consumed by system 2.

I have this similar test to be done for 11 API. When im trying to reuse the step definition, even though my verbiage is different, i still get duplicate step definition… My groovy script lies under separate package.