title: memcpy segfault
body: <p>I am really struggling to see why the following code will not work and causes a segfault.</p>
  
  <pre><code>Car *newCar;
  Car *oldCar;
  newCar-&gt;engineSize = 1500;
  memcpy(newCar, oldCar, sizeof(Car)); 
  </code></pre>
  
  <p>I am obviously missing something very fundamental here but don't know what it is. Any help would be greatly appreciated.</p>
  
  <p>Thanks</p>