In your main loop, increment/decrement the sprite's X/Y until it comes in contact (or near) with the target sprite. You will need to use IF statement(s) and logic conditions to test the coordinates. I'll try to make an example program.
For smooth movement, i would recommend using ATAN, SIN and COS, since increasing/decreasing X and Y by conditional statements would produce an odd movement. Here's a sample code.