Copy a file into Zip file

I have a file called key.xml and i wanted that file to copy in to a zipfile which is already created. 

So i want add a key.xml which is saved as secret file in Jenkins credential and wanted to save that key in the MS build Zip file.

Please any help will be appreciated 

Thanks!

Srikanth