iTunes doesn't magically keep a copy of all your music without it being in a directory somewhere. The files are saved somewhere. So you will be able to copy them. If you have imported them into iTunes in a proprietary format that another phone might not want to play with, there's an issue there. But i bet you could get a freeware converter without too much hassle. Or an alternative media player app for the phone that would support them.