Transfer pdf file from fileref in secondary datasource to main datasource

We are using JMIX Version 1.6. We have a pdf file as fileref in secondary datasource. We want to transfer it in main datasource. Please guide.