def buckets(array, bucket_size):
    """
    Split array into multiple arrays with specified size.
    :param array: array that will be splited
    :type array: List[Any]
    :param bucket_size_size: target arrays size
    :type bucket_size_size: int
    :return: list with parameters
    :rtype: List[List[Any]]
    """
    bucket_size_list = []
    for i in range(0, len(array), bucket_size):
        bucket_size_list.append(array[i:i + bucket_size])

    return bucket_size_list