Flesh and Blood (Star Trek: Voyager)

"Flesh and Blood" is a two part episode from the seventh season of Star Trek: Voyager.

Plot
Three years ago, Captain Janeway gave the Hirogen some holographic technology as a peace offering. They proceeded to modify it to make the holographic "prey" characters more challenging. Now they are running for their lives from ships full of homicidal holograms who want to take revenge on their hunters. However, the Hirogen manage to acquire allies to help fight the holograms-the Voyager crew. When Voyager reaches the Hirogen ship, they beam the engineer aboard, and two Hirogen ships come to get him back. But, in the meantime, the hologram ship comes and attacks the Hirogen ship and then Voyager, transferring the Doctor's program to their database in the process. The Hirogen survivors are brought aboard Voyager, and they send a message to two more Hirogen ships, telling them of Voyager's position. The holograms convince the Doctor to help them and he treats the mechanical injuries of some of the holograms. The two other Hirogen ships arrive and take back the Hirogen aboard Voyager before pursuing the holograms. Voyager follows the two ships in a wake it puts out behind them, so they won't be detected. The holograms attacked Voyager before, though and the doctor transferred himself to their ship. The holograms also beam B'Elanna Torres to help them prepare a holographic generator so they can be activated on a planet where the Hirogen can't hurt them. The Hirogen find their ship and Voyager attacks the Hirogen, so they can't destroy the holograms. The holograms intercept the Hirogen and beam them to the planet they want to live on in the future. The Hirogen can't survive there though, and the holograms try to hunt them down, like they did to them in the past, they don't succeed, and they're transferred to Voyager's database. The doctor goes back to Voyager, and the engineer hologram and the Hirogen engineer take the ship the holograms were on to stay there for the rest of their lives.