CB-4469 move copy resource script out of project file

no script changes, just removed to a separate file and run from the same build step.