Expansion of a finite plasma into a vacuum