Fix filetime copy checks