You use the cat function with the dims keyword (Arrays · The Julia Language):
cat
dims
C = cat(A, B; dims=3)