but ii cant figure out how to get all my old pictures...
Enable My Photo Stream on your new device as described here:
Get help using My Photo Stream - Apple Support https://support.apple.com/HT203511
Older photos may no longer be in iCloud. Which photos are you seeing in My Photo Stream? My Photo Stream is only storing the photos added during the last month in iCloud, and also at most 1000 photos. The photos you added longer ago will no longer be in iCloud. You cannot restore them from iCloud.
Have you tried to restore the new iPhone from a backup of your old iPhone 4? An iCloud backup or iTunes backup will include all photos that are in the camera roll, see: iOS: Back up and restore your iOS device with iCloud or iTunes