For example, this method:

```
memcpy(pVoid, MyStructArray, sizeof(MyStructArray)); 

```

This used to be fine because I was calling this method once on instantiation where the array was sa pre-defined size. However it became necessary to change the information in the 'array' dynamically, so I'm using a vector instead. Is the information in a vector guaranteed to be contiguous?

could I do something like

```
 memcpy(pVoid, &MyStructVector, sizeof(*MyStructVector) * MyStrucVector.size()); 

```