aeron-cluster/src/main/java/io/aeron/cluster/ClusterMember.java
public static ClusterMember[] addMember(final ClusterMember[] oldMembers, final ClusterMember newMember)
    {
        return ArrayUtil.add(oldMembers, newMember);
    }
public static ClusterMember[] addMember(final ClusterMember[] oldMembers, final ClusterMember newMember)
    {
        return ArrayUtil.add(oldMembers, newMember);
    }
Add a new member to an array of {@link ClusterMember}s.

@param oldMembers to add to.
@param newMember  to add.
@return a new array containing the old members plus the new member.