File: Copy and replace problem

Godot Version

4.3

Question

I have 2 zip files that contain a few files, both with the same name (data.zip) and with different path

zip 1:
data_1
data_2

zip 2:
data_2
data_3

when using DirAccess.copy_absolute zip 1 to zip 2
the final result is
Zip:
data_2
data_3

my question is there is any way to make the final result something like this:
data_1
data_2
data_3

how can I do that using GDScript?

There is a ZIPReader class, which should be what you’re looking for. But I have never used it, so can’t say if this will solve your case.