Copies file from one place to another.