i have tried this code to element.xml in autohosted app then uploaded & deployed it to office 365 but nothing happened,
is there any step i should do? 
     

        <?xml version="1.0" encoding="utf-8"?>
    <Elements xmlns="http://schemas.microsoft.com/sharepoint/">
      <CustomAction
       Id="CustomRibbon"
       Location="CommandUI.Ribbon"
       RegistrationId="101"
       RegistrationType="List"
       Title="Copy Item to Doc Lib">
        <CommandUIExtension>
          <CommandUIDefinitions>
            <CommandUIDefinition
             Location="Ribbon.Documents.Manage.Controls._children">
              <Button
               Id="Ribbon.Items.Manage.CustomRibbon"           
               Command="CopyItem"
               Image32by32="http://s17.postimage.org/trf3y2ui3/U32.png"
               LabelText="Copy Item"
               TemplateAlias="o1" />
            </CommandUIDefinition>
          </CommandUIDefinitions>
          <CommandUIHandlers>
            <CommandUIHandler Command="CopyItem" CommandAction="javascript:alert('Hello world!');" />
          </CommandUIHandlers>
        </CommandUIExtension>
      </CustomAction>
    </Elements>