* reduce use of depset.to_list() * avoid copying arrays when invoking copy_file * fixup! reduce use of depset.to_list() * fixup! reduce use of depset.to_list()