WestLangley's innovative solution inspired me to experiment further. I discovered that by adding both spotlight.target and spotlight as children to the same object, such as the camera or another object like a car or gun, they can be positioned relative to the parent object without the need for constant position copying.
One approach could be as follows:
scene.add(camera);
camera.add(gun);
gun.position.set(-30,-30,0);
gun.add(spotlight);
spotlight.position.set(0,0,30);
gun.add(spotlight.target);
spotlight.target.position.set(0,0,31);
Now, the gun will automatically follow the camera, and the spotlight will illuminate along with the gun. If the gun undergoes any rotations, the spotlight will adjust accordingly. It truly showcases the flexibility and power of THREE software. :-)
Attaching the spotlight to the camera, aligning it in the same direction, and keeping it near the center will result in a constantly circular light cone. However, for a more dynamic and realistic effect, it can be beneficial to introduce a small offset for the light cone to change shape as needed. While I haven't tested it myself, a slight adjustment like in the example above can achieve this desired effect.