Wordle is inspired by Mastermind, sure, but I don’t think it’s fair to call it a copy. I enjoy Mastermind; I do not enjoy Wordle¹.
Even the simplest details are different, like e.g. in Wordle you know which letters are in the right or wrong places but in Mastermind you only know some are but not which.
¹ And because this is HN, I have to point out that that is just a personal preference, it does not in any way reflect on you, the reader. You are free to enjoy or dislike whatever you want.