You can copy one switch's configuration (ExtremeXOS image, configuration files, scripts) to another switch using USB Zero Touch Provisioning (ZTP).
Insert a USB drive with the desired configuration files on it into an unconfigured switch (does not need to be connected to the network), and the unconfigured switch automatically searches for the files and deploys them. The switch auto detects the USB drive at bootup or while ExtremeXOS is running.