Yes, your first step will be to upgrade to 6.5.5. You can use
these docs for that part of the upgrade.
At that point, you'd install the latest version and then import your data into it. You can use
this doc for that portion.
We can also guide you on any particular questions you might have along the way.