Don't copy file to temp.cdao if it's already temp.cdao.