Problem
It is hard to know who influenced what. Did Jewish prophets in the exile who had visions influence the Babylonians or did the Zoroastrians influence the exiled Jews? It's truly impossible to say. Or it could be that they both arrived at their beliefs independently. These are not the only religions to see a cosmic struggle of good and evil.