[BUGFIX] Fatal error when copying file or folder