copy batch array for safety