Arguments:

Layout Saves the current layout.
LayoutAs Saves the current layout, and remembers the filename used.
PasteBuffer Save the content of the active Buffer to a file. This is the graphical way to create a footprint.
AllConnections, AllUnusedPins, ElementConnections obsolete arguments, kept for compatibility; please use ExportOldConn instead.