Add copy to eos retries
Adds retry functionality with incremental backup strategy to the copytoEOS stage, in case of random network glitches during upload. This was discussed at the team meeting a couple of weeks ago. Functionality backported from Aedifex scripts.