def copy_attribute(name, src, dst):
    """
    Given a name copy attribute from
    source object to destination object
    @param name: field name
    @param src: source object
    @param dst: destination object
    @return: destination object
    """
    if src and name in src:
        dst[name] = src[name] 
    return dst