Copy rotation values in between objects.

I need to coppy the rotation values of an object to other objects ingame.

I wrote :

var target : Transform;

function Update () {
	transform.rotation.x = target.transform.rotation.x;
	transform.rotation.y = target.transform.rotation.y;
	transform.rotation.z = target.transform.rotation.z;
}

But it doesn’t work. The Rotations do update but they are not 1:1 the same and vary within a 40° range on all axis. This is way to much.
How else could I do it?
Parents don’t Work since there are several objects depending on a single one, all with a big offset and transforming the parents rotation only causes the Objects to shift regarding their offset.

Vector3 newRotation = new Vector3(go2.transform.eulerAngles.x, go2.transform.eulerAngles.x, go2.transform.eulerAngles.z);
gameObject.transform.eulerAngles = newRotation;

Or the following (untested)

Vector3 newRotation = gameObject.transform.rotation.eulerAngles;