add copy file handler