minor cleanup on mkl project

libiomp5md.dll is now copied from intel's redist directory
added a common array clone function to simplify cloning
moved some functions to a header file so could eventually use them in an ATLAS project