Extracted platform methods from IndexBuffer.
Platform copy for IndexBuffer.
IndexBuffer platform code split.