If you find yourself imitating another writer, that doesn't have to be a bad thing, especially if you are a young or a new writer. However, you should be conscious of exactly how you are imitating him - word choice, sentence structure, motifs? - and think about why you're doing it.
In France, for instance, one magazine writer was convinced that On The Road had been a huge influence on Lost Souls and was crushed to learn that I hadn't read the one until after I'd written the other.
Young writers shouldn't be afraid of striving to emulate their favorites. It's a good way to learn, as long as you move on from it and don't publish too many of the results.