Right-click the Copy Raster (Data Management) tool, select batch. Specify the Input Raster parameter as the batch parameter.
Specify GeoTIFF or Cloud Optimized GeoTIFF as the output format.
In the batch tool environment settings, specify JPEG or JPEG_YCbCr compression.