C = np.empty((len(A), 2, 3, 2, 2), np.int)
C[..., (0), (0)] = A[:, (0)][:, (None), (None)]
C[..., (1), (0)] = A[:, 3:][:, (None), :]
C[..., :, (1)] = A[:, 1:3][:, :, (None), (None)]
Create a new numpy array based on conditions set out in numpy array