check if destfile exitst before copy in Assignmet3