You mean the Galaxy S5, or the S6? What data are you trying to copy? There won't be much to copy over from a flip phone besides contacts -- there's usually some way to export contacts as vCard or vcf files (which could subsequently be imported into Google Contacts), but it's hard to know for such an old phone. I can't find anything definitive on a cursory Google search.