The extent of an array can't be altered. If you require a bigger array you ought to instantiate a new one.
A better resolution would be to apply an ArrayList which can develop as you need it. The program ArrayList.toArray( T[] a ) gives you back your array if you require it in this form.
List<String> where = new ArrayList<String>();
where.add( ContactsContract.Contacts.HAS_PHONE_NUMBER+"=1" );
where.add( ContactsContract.Contacts.IN_VISIBLE_GROUP+"=1" );
If you require to alter it to a simple array...
String[] simpleArray = new String[ where.size() ];
where.toArray( simpleArray );
But most things you do with an array you can be donewith this ArrayList, too:
// iterate over the array
for( String oneItem : where ) {
...
}
// get specific items
where.get( 1 );