This is the complement to average. This command takes in input a list of images or cubes of the same size (in X and Y) and concatenates them all to a single 3d FITS file.
catcube man page