How to take generated file from job artifacts and place to another gitlab repository location

After build success in pipeline java script file generated and available in Job Artifacts. How to copy the generated file from job artifacts ( /jobs/12547855/artifacts/) and place to another gitlab repository location.

Expectation: After build success - while click on “deployment” in pipeline, generated JS file needs to be placed in another gitlab repository location.

Thanks in advance!