public void CopyTo(TempFile toFile) { toFile.Delete(); File.Copy(FilePath, toFile.FilePath); }
public void DeleteFile(string fileName) { var file = new TempFile(this, fileName); file.Delete(); }
public void MoveTo(TempFile toFile) { toFile.Delete(); File.Move(FilePath, toFile.FilePath); }