Scala version of the mobile phone music copying script