Star Trek The Original Series S01 E07 – What are Little Girls Made of?
In search of Nurse Chapel’s fiancé, renowned Exobiologist Roger Korby, the Enterprise visits the icy planet Exo III, where Korby has discovered an ancient machine which allows him to duplicate any living person with an Android replacement. Korby plans to use the machine to spread controlled androids throughout the Federation, and replaces Captain Kirk with such a duplicate in an effort to take over the Enterprise