How about this assignment?
if(certs != null){
    targetCerts = new Certificate[certs.length];
    System.arraycopy(certs, 0, targetCerts, 0, certs.length);
}

Reply via email to