def add_all(array, other):
    """
    Append all items of the second array into the first one.

    :param array:
    :param other:
    :return:
    """
    for item in other:
        array.append(item)
    return array
