Converting multipage TIFF file to byte[] and then again to TIFF image

Hello,

I have a TIFF image file url. I want to convert this image from url to byte[] (byte array) and then again want to convert it back to TIFF image.

I am trying on "http://mfb1.troisinfotech.online/images/123.tiff" TIFF file.

I have tried several examples by searching on google but none is working as expected.

Please guide me through this.

Thanks.