It is safe and lawful as long as you download songs the creators of which have permitted you to save them. It would be best if you didn't use stored tracks for commercial purposes or present them as your authorship works.