Download Resources zip from server . Save the Assets folder

I use WWW to download zip from my server. I want to save the zip to Application. persistentDataPath. The zip can be saved to that path. But I hope the result that save the Assets folder. The zip content will be replaced the old resources.
I don’t know how to do it? Please help. Thanks.

ps: I am testing in mobile

There are many reasons most devices don’t want to allow you to download random zips. Big security concern. Use Asset Bundles instead.