arr[b:c, :, :] .= arr[a:a,:, :] should work.
Note arr[a:a,:,:] is a 1x5x5 array and not a 5x5 array like arr[a,:,:]. This is important to let broadcasting .= know which dimension to replicate on.
1 Like