Since you activate the resources you have already a ResourceManager
.Just use GetObject
method,get the bytes of your file and write the them to a new file with File.WriteAllBytes
:
var bytes = Properties.Resources.ResourceManager.GetObject("resourceName") as byte[];
File.WriteAllBytes("newFile.zip", bytes);