move loadsrc and dst to tilelive.copy function