Moves Index to foobar.
Moves foobar to index.