void _copySegments(ref ElfFile file, ref ElfBuilder builder)
Copy segments from an ElfFile to an ElfBuilder.