def _copy_element(element, source_dir, dest_dir):
    'Copy an entire SDK element to a given directory.'
    meta = _get_meta(element, source_dir)
    (common_files, arch_files) = _get_files(meta)
    files = common_files
    for more_files in arch_files.values():
        files.update(more_files)
    _copy_files(files, source_dir, dest_dir)
    _copy_file(element, source_dir, dest_dir)
Copy an entire SDK element to a given directory.
def _copy_element(element, source_dir, dest_dir):
    
    meta = _get_meta(element, source_dir)
    (common_files, arch_files) = _get_files(meta)
    files = common_files
    for more_files in arch_files.values():
        files.update(more_files)
    _copy_files(files, source_dir, dest_dir)
    _copy_file(element, source_dir, dest_dir)