I've loaded the M5Stack library and the ESP32 library from Espressif. When I try to upload my program I get this error message trail:

ash: line 0: [: too many arguments
usage: cp [-R [-H | -L | -P]] [-fi | -n] [-apvXc] source_file target_file
cp [-R [-H | -L | -P]] [-fi | -n] [-apvXc] source_file ... target_directory
exit status 64
/Applications/Arduino.app/Contents/Java/arduino-builder returned 64
Error compiling for board M5Stick-C.

Thank you for trying to help me!