How to delete /dev folder that is accidentaly copied to external hdd?

I have accidentally copied the entire contents of root to my external hard drive because of using wrong syntax of cp. I have deleted the rest leaving /dev folder. Using rm results to “device busy” and already have opened it on windows to delete but it says “file does not exist” and “name too long”.