Flash firmware to Wio terminal

I am not able to flash the Edge impulse firmware. as soon as i copy the file to the Arduino folder the drive closes.