Dibship Rising

When Dib discovers that Tak’s ship he recovered has a built in AI, he decides to reprogram the ship with his own personality.  While Dib is quite pleased with initial results, the spaceship begins to behave more and more like the real Dib and it attempts to actually take his place.  All of the attention of a huge spaceship going to school causes Zim to realize that it’s really Tak’s ship, so he plans to override the machines AI and order it to attack Dib; though can he really force a machine so smart to attack it’s counterpart?