During information exchange in the TLS handshake, the server sends a public key together with the certificate. The server also sends a second public key (Server Key Exchange) if the client accepts the certificate.
If the server has already sent a public key together with the certificate, what is the need for a second public key?