myUdhElements = new SmsUdhElement[theUdhElements.length];
if (theUdhElements!=null) { myUdhElements = new SmsUdhElement[theUdhElements.length];
    public void setUserDataHeaders(SmsUdhElement[] theUdhElements)    {        myUdhElements = new SmsUdhElement[theUdhElements.length];        System.arraycopy(theUdhElements, 0, myUdhElements, 0, theUdhElements.length);    }