copy runtime into base dir