It would be a tiny bit easier if I could see your structure in SharePoint one but you would do this.
1. You need to describe what the structure is of your source compared to your target
Now.. if you have it even more
Documents/mydocs/eee/ffff/1
it gets really complicated because you need to parse the folder path of the source, take the pieces, and check if each piece(folder) exists on the other side and if not add it.
can you give me a little detail on the format of the folders, just so I give you the simplest version of the code .
which would look something like
1. Reocurrence
2. Get File (properties Only)
3. Apply to Each (For Each)
--Get the File Content First
--Grab File Path (which I hope is just documents/folder
--do a list folder Condition to see if the folder already exists on the other side
---In the Yes side, just do create File
---in the No, you would do a Create folder action
-----then do your Create file
but if your structure is.... deep or weird lol :-) then I have to give you more code to do