def copyAttrs(srcobj, destobj):
    """
    Copies attributes from one HDF5 object to another, overwriting any
    conflicts
    """
    for k in srcobj.attrs.keys():
                destobj.attrs[k] = srcobj.attrs[k]
    return True