Add tar_copy and tweak tar functions