This is a difficult question. Many trying-to-be-writers will leap onto a particular favourite author and say “I write like them!”. Once they’ve gotten a hundred thousand words down in various projects, I see these writers hesitate to be identified with a particular writer.
We all write differently. It’s a stupidly obvious statement, of course, because we are all different people. Different life experiences, different educations, different value systems. Yet we still want to write like a favourite writer.