@Arul0597
There are a lot of details missing to really give you a perfect answer. However, here are some suggestions
1. Create a Parent Flow that generates the list of things to copy (it doesnt do the copying)
2. Use a Do Until to enable it to not time out
3. It will use an Apply to each on the Array (or json) you generate for every file to copy and where to copy it too, or which folder the child should copy all the files from or a list of files it does
4. Use a child flow to actually move the files
This way you can turn on Concurrency in your Apply to each and copy more than 1 file at a time. Technically up to 50, but I recommend starting with a smaller number like 5-10 and moving up as you validate it doesn't cause you issues.
Also, you will most likely need to wrap your Apply to each in a Do Until, because the Do Until, while it appears to be a loop, can be set to only loop 1 time, in which case it has the Apply to each in it.
This is because you can set a timeout on the Do Until, but not on the Apply to each. Even if the timeout is in days. So your flow may not run super super super fast, due to the number of files and size, but it will keep running
Steps
1. Create a Parent flow that builds the list of things to copy
-It should build that list first
-Then start a Do Until with a condition that will NOT complete until the apply to each is done
-Make sure your do Until only loops 1 time and doesn't call your Apply to each again
-In your apply to each, do NOT use any variables, other than your list, and do not update it just loop it
-click the ... and turn on Concurrency and set it between 1-50
2. Create your Child flow that will copy a file, or a set of files even but only a limited number OR do it by Folder. FOr instance, instead of saying which files to copy, have the master flow create a list of all the Folders to copy. Then have the child, either
a) copy a single file
b) a set of files
c) a folder of files
If you like my answer, I would really appreciate if you please Mark it as Resolved, and give it a thumbs up, so it can help others
Cheers
Thank You
Michael Gernaey MCT | MCSE | MCP | Self-Contractor| Ex-Microsoft
https://gernaeysoftware.com
LinkedIn: https://www.linkedin.com/in/michaelgernaey