Applies toTMatrix
Declarationprocedure CopyByRef(Matrix: TMatrix);
Declarationprocedure CopyByRef(const Buffer: Pointer; const DimValues: array of Integer);