Concatenate BAMs. The sequence dictionary of each input BAM must be identical, although this command does not check this. This command uses a similar trick to reheader which enables fast BAM concatenation.
samtools cat [-h header.sam] [-o out.bam] <in1.bam> <in2.bam> [ ... ]