Pull and modify 100 project automatically

Hello dear family,
I have 100 project on gitlab,
I want to:
1- make a copy of each of them (and rename the copies)
2- modifiy the pom.xml for the 100 project at the same time (delete dependency and add new one)
3- push them all to gitlab with the new names
Waiting for your help
Best regards.