Copy the duplicated to tmp folder