The J5 is not a Windows phone. Did you mean to post in another forum? Or are you asking how to get the photos on your old J5 onto your new Windows Phone?
If the latter, one way is to copy your J5 photos into a PC then connect the new Windows phone to the PC via USB and drag the pictures into some folder on the phone under the Pictures folder. Use the Camera Roll folder to access them like pictures taken on the new phone.
Or you could upload the pictures into a OneDrive folder under the account the Windows phone will be connected to so you can view them on the phone (or anywhere else) without using up space on the phone.