Try the following script. To use it:
- on a dialog window select a radio button with data table from which you want to copy columns with formula;click "Copy Formula"
- edit script in the script window, if needed;
- select new data table in which new columns with formula need to be created; click "Paste Formula". The script will run against selected table.
Hope this helps.