The copy command seem to work like this.