Fixed #20488 - cleanup destination in case of error while doing the copy

Remove the partially created destination if OSError is raised while performing the copy