Let’s talk inspiration …
Inspiration is good … outright copying less so.
Maybe you really enjoyed Twilight, and have an idea for your own vampire romance story. Or you really love Star Wars, and you have your own ideas for a space opera which include mystical, psychic knights …