Move database copying into its own function in main migration script
Move database copying into its own function in main migration script

bwrsandman/OpenUpgrade,pedrobaeza/OpenUpgrade,sebalix/OpenUpgrade,mvaled/OpenUpgrade,OpenUpgrade-dev/OpenUpgrade,blaggacao/OpenUpgrade,csrocha/OpenUpgrade,damdam-s/OpenUpgrade,csrocha/OpenUpgrade,pedrobaeza/OpenUpgrade,OpenUpgrade-dev/OpenUpgrade,damdam-s/OpenUpgrade,blaggacao/OpenUpgrade,pedrobaeza/OpenUpgrade,bwrsandman/OpenUpgrade,csrocha/OpenUpgrade,grap/OpenUpgrade,sebalix/OpenUpgrade,damdam-s/OpenUpgrade,pedrobaeza/OpenUpgrade,blaggacao/OpenUpgrade,damdam-s/OpenUpgrade,OpenUpgrade/OpenUpgrade,hifly/OpenUpgrade,OpenUpgrade/OpenUpgrade,Endika/OpenUpgrade,Endika/OpenUpgrade,OpenUpgrade/OpenUpgrade,blaggacao/OpenUpgrade,blaggacao/OpenUpgrade,grap/OpenUpgrade,kirca/OpenUpgrade,csrocha/OpenUpgrade,pedrobaeza/OpenUpgrade,OpenUpgrade/OpenUpgrade,damdam-s/OpenUpgrade,hifly/OpenUpgrade,mvaled/OpenUpgrade,0k/OpenUpgrade,0k/OpenUpgrade,bwrsandman/OpenUpgrade,kirca/OpenUpgrade,grap/OpenUpgrade,Endika/OpenUpgrade,hifly/OpenUpgrade,bwrsandman/OpenUpgrade,sebalix/OpenUpgrade,bwrsandman/OpenUpgrade,0k/OpenUpgrade,mvaled/OpenUpgrade,OpenUpgrade/OpenUpgrade,hifly/OpenUpgrade,Endika/OpenUpgrade,OpenUpgrade-dev/OpenUpgrade,Endika/OpenUpgrade,sebalix/OpenUpgrade,bwrsandman/OpenUpgrade,kirca/OpenUpgrade,OpenUpgrade-dev/OpenUpgrade,0k/OpenUpgrade,blaggacao/OpenUpgrade,sebalix/OpenUpgrade,bwrsandman/OpenUpgrade,OpenUpgrade/OpenUpgrade,grap/OpenUpgrade,0k/OpenUpgrade,kirca/OpenUpgrade,hifly/OpenUpgrade,grap/OpenUpgrade,sebalix/OpenUpgrade,pedrobaeza/OpenUpgrade,sebalix/OpenUpgrade,OpenUpgrade/OpenUpgrade,mvaled/OpenUpgrade,mvaled/OpenUpgrade,kirca/OpenUpgrade,mvaled/OpenUpgrade,OpenUpgrade-dev/OpenUpgrade,blaggacao/OpenUpgrade,csrocha/OpenUpgrade,csrocha/OpenUpgrade,pedrobaeza/OpenUpgrade,csrocha/OpenUpgrade,damdam-s/OpenUpgrade,kirca/OpenUpgrade,kirca/OpenUpgrade,0k/OpenUpgrade,grap/OpenUpgrade,Endika/OpenUpgrade,hifly/OpenUpgrade,Endika/OpenUpgrade,mvaled/OpenUpgrade,grap/OpenUpgrade,hifly/OpenUpgrade,damdam-s/OpenUpgrade,OpenUpgrade-dev/OpenUpgrade