title: Copy events from one Google Calendar to another, without duplication
body: <p>I'm working on building some logic between a couple calendars.</p>
  
  <ul>
  <li>Get my calendar,  </li>
  <li>If event title contains "Install",<br>
  <ul>
  <li>Create event on InstallCalendar.</li>
  </ul></li>
  </ul>
  
  <p>I'm getting stuck after retrieving the two calendars. I'm not sure how to gracefully add the logic I have in comments at the bottom.</p>
  
  <pre class="lang-js prettyprint-override"><code>function copyInstalls(){
    var now = new Date();
    var later = new Date("January 1, 2015 08:00:00 PDT"); // be lazy for now
  
    // get my calendar to see whether I have install events scheduled 
    var my_calendar = CalendarApp.getDefaultCalendar();
    var my_install_events =  
    CalendarApp.getCalendarById('example@group.calendar.google.com').getEvents(now, later, {search: 'Install'});
  
  
    // snag the Installation Events calendar 
    var install_calendar = CalendarApp.getCalendarById('example@group.calendar.google.com');
    var install_events = CalendarApp.getCalendarById('example@group.calendar.google.com').getEvents(now, later, {search: 'Install'});  
  
    for (var event in my_install_events){
  
       // if it doesn't exist in install_events, create a new event
       // Not sure how to do this part
  
    }
  
  }
  </code></pre>