Has histone acetyltransferase activity, with a preference for histone H4. . This is the function of CDY1B (chromodomain Y-linked 1B, ENSG00000172352).