acrobat script to perform an organize pages and then replace

I have an OLDFOLDER with hundreds of PDF files in it. I am currently having to open each file, click Organize Pages > Replace > Then I select the new file from the NEWFOLDER.

Is there a way to do this via a script? Files in both folders have the same filename.

i.e. c:OLDFOLDEROFD_01A.pdf = c:NEWFOLDEROFD_01A.pdf
I now perform the operation of opening the OldFolder version and replacing it with the new one. This is done to preserve links in the files.

Any thoughts to get me going?