The align method works with arrays of equal size, but align2 has exceptions being thrown