Can i transfer music file from my iphone 5s to another?

Please can i transfer a music from my iphone 5s to another iphone 5 via bluetooth? If yes how? If no then what's the main purpose of the bluetooth on the iphone?

I don't believe that it's possible on a non-jailbroken iPhone 5s (please someone correct me if I'm wrong here). Bluetooth has a wide variety of applications. For mobile devices, it is commonly used for streaming music to be played, such as to bluetooth speakers or stereo systems. It can even be used for short-range communication, similar to a walkie-talkie. Keep in mind, however, that it is one of the least secure connections on your phone. By default there's almost no security that would prevent someone from interfering with your Bluetooth connection, and in some cases, hacking your mobile device remotely using Bluetooth. For this reason, I normally turn my Bluetooth off when I'm not at home.

No, you can't over bluetooth. Bluetooth is ment for headsets, wireless peripherals, and printers. You CAN sync both iPhones with iTunes and it will copy all the music from both to each other.

Hi do not worry about that you can follow these steps

The process of connecting a Bluetooth device to an iPhone is called pairing. Regardless of what kind of device you're pairing to your iPhone, the process is basically the same. Follow these steps to complete the iPhone Bluetooth pairing process (they also apply to the iPod touch and iPad).

Begin by making sure your iPhone and Bluetooth device are near each other. Bluetooth signals can only extend a few feet, so if the devices are too far apart they can't connect. They don't have to be right next to each other, but they should at least be in the same room, if not closer.
Next, put the Bluetooth device you want to pair with the iPhone in discoverable mode. This allows the iPhone to see the device and connect to it. Making a device discoverable requires different steps on different devices. For some it's as easy as turning them on, others require more work (and some devices are always discoverable). Check the manual for the device you want to pair for instructions.
Tap the Settings app on your iPhone homescreen.
Tap General (if you're on iOS 7 or up, you can skip this step).
Tap Bluetooth.
Move the Bluetooth slider to On/green. When you do this, a list of all the discoverable Bluetooth devices will appear.
If the device you want to pair with is listed, tap it. If not, consult the device's instructions to ensure it's in discoverable mode.
To pair some Bluetooth devices with the iPhone, you need to enter a passcode. If the device you're trying to pair is one of those, the passcode screen will appear. Consult the device's manual for the passcode and enter it.
And, with that, you're completed the iPhone Bluetooth pairing process and are ready to use the device.

You can't transfer music files in iPhone via Bluetooth
Bluetooth on an iOS device is just useless, Apple's failure

To get your music files moved from one iPhone to another, the TunesGo software might help you

http://www.iphone-to-mac.com/tunesgo-iphone-ipad-ipod-manager.php

Hope it works for you.