){\r
UINTN DestinationStartSize;\r
UINTN NewSize;\r
+ UINTN CopySize;\r
\r
//\r
// ASSERTs\r
*Destination = AllocateZeroPool((Count+1)*sizeof(CHAR16));\r
}\r
\r
- *Destination = CopyMem((*Destination)+StrLen(Source), *Destination, StrSize(*Destination));\r
+ CopySize = StrSize(*Destination);\r
+ *Destination = CopyMem((*Destination)+StrLen(Source), *Destination, CopySize);\r
*Destination = CopyMem(*Destination, Source, StrLen(Source));\r
return (*Destination);\r
}\r