Here's exactly what I'm looking for - I need an 'update.zip' file that can copy a file (example):
/system/framework/file-to-copy.apk
to another folder:
/system/
and then it would rename the 'file-to-copy.apk' in the 'system' folder to:
renamed-file.apk
and copy it back to:
/system/framework/
It would have to overwrite an already existing 'renamed-file.apk' in 'system/framework' folder.
Note: The permissions can NOT change.
Is it even possible to do this?
Any help would be appreciated!