copy_source_to_eband compiles, need to check with more cases