Synchronizing two cameras.

Hi there, I’d like to synchronize two cameras (want to make them displaying this same thing), how to do that?
I have tried:

//	kierunek = Quaternion.Euler (new Vector3(kameraGracza.transform.rotation.x, kameraGracza.transform.rotation.y,kameraGracza.transform.rotation.z));
		//transform.rotatioW n = kameraGracza.transform.rotation;
		//transform.position = kameraGracza.transform.localPosition;
		this.transform.localRotation = kameraGraczPOS.localRotation;
		//this.transform.localPosition = kameraGraczPOS.localPosition;
		//transform.localRotation = Quaternion.Euler(new Vector3(0,0,kameraGracza.transform.localRotation.z))*Quaternion.Euler( new Vector3(kameraGracza.transform.localRotation.x,0,0));

but any thing worked. Any ideas/help?

This should do what you want. Keep in mind that the cameras could have different settings (field of view, …)

void LateUpdate()
{
    transform.rotation = kameraGracza.transform.rotation;
    transform.position = kameraGracza.transform.position;
}