You can use Get Position and return a float on one of the Axi (like X, for instance). Then you can just use Set Position for the camera and inject that float into the X field.
Basically it just gets the position on the X, then makes the other object the same. Make sure they're both set to World, and not Self.