Merge "Move make_local_copy to utils"