Changing the header of images

Operating system: windows 10
Slicer version:4.10.2
HI 3dslicer experts.
I have two images , T1 and DWI , that have different isocenter.i want to changing DWI image’s Header to same of T1 image header.can you help me about this?
thanks.

If you are looking to register the images to the same space you can find good examples here:

https://www.slicer.org/wiki/Documentation/4.10/Registration/RegistrationLibrary