rm target if file not dir in copytree