It sounds like you are talking about SSD hard drives here.
If you are asking if they will work together then yes, they will. If you are asking if replacing the Kingston SSD with the Samsung will work, then yes, the Samsung 256GB SSD will replace the Kingston and have very similar performance.